package dom;

/**
 * Set of attribute names, each with an associated domain of values.
 * 
 * What kind of information is reported along with the alert (i.e. detected attack)
 *
 * @author Alex P
 */
public class Fact {
	private String name;

	public Fact(String name){
		this.name = name;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Fact: ["+name+"]";
	}
	@Override
	public boolean equals(Object o){
		if(o instanceof Fact){
			return name.equals(((Fact) o).name);
		}
		return false;
	}
	

}
